import request from '@/utils/request'

// 查询建设内容列表
export function listSolutionconstruction(query) {
  return request({
    url: '/tianqi/solutionconstruction/list',
    method: 'get',
    params: query
  })
}

// 查询建设内容详细
export function getSolutionconstruction(id) {
  return request({
    url: '/tianqi/solutionconstruction/' + id,
    method: 'get'
  })
}

// 新增建设内容
export function addSolutionconstruction(data) {
  return request({
    url: '/tianqi/solutionconstruction',
    method: 'post',
    data: data
  })
}

// 修改建设内容
export function updateSolutionconstruction(data) {
  return request({
    url: '/tianqi/solutionconstruction',
    method: 'put',
    data: data
  })
}

// 删除建设内容
export function delSolutionconstruction(id) {
  return request({
    url: '/tianqi/solutionconstruction/' + id,
    method: 'delete'
  })
}
